//booking class declaration
#ifndef BOOKING_H_
#define BOOKING_H_

#include "passenger.h"
#include "flight.h"

class booking
{
	public:
		booking(); //default constructor
		booking(int,passenger*,flight*,string,bool); //constructor
		~booking(); //destructor
		passenger* getPassenger() const;
		void setPassenger(passenger*);
		flight* getFlight() const;
		void setFlight(flight*);
		string getSeatNumber() const;
		void setSeatNumber(string);
		int getBookingNumber() const;
		void cancel();
		bool is_Cancelled() const;

	private:
		int bookingNumber;
		passenger* passenger_;
		flight* flight_;
		string seatNumber;
		bool isCancelled;
};

#endif
